package sceneGraph;

import javax.vecmath.*;

public abstract class AbstractSceneObject extends SceneGraphNode implements ISceneObject {

	private Color3f kDiffuse;
	private Color3f kSpecular;
	private Color3f kAmbient;
	private float nShininess;

	public Color3f getKD() {
		return kDiffuse;
	}

	public Color3f getKA() {
		return kAmbient;
	}

	public Color3f getKS() {
		return kSpecular;
	}

	public float getNS() {
		return nShininess;
	}

	public AbstractSceneObject(Color3f kDiffuse, Color3f kSpecular, Color3f kAmbient, float nShineness) {
		this.kDiffuse = new Color3f(kDiffuse);
		this.kSpecular = new Color3f(kSpecular);
		this.kAmbient = new Color3f(kAmbient);
		this.nShininess = nShineness;

	}

	@Override
	public abstract void accept(Visitor visitor);

}
